package com.openspring.platform.model;

import com.openspring.framework.annotation.persistence.Column;
import com.openspring.framework.annotation.persistence.GeneratedValue;
import com.openspring.framework.annotation.persistence.Id;
import com.openspring.framework.annotation.persistence.Table;

/**
 * 字典类别实体
 * @author hebin
 *
 */
@Table(name="t_platform_dict", schema="emp")
public class Dict {

	private Long id;
	private String code;
	private String name;
	
	@Id
	@GeneratedValue
	@Column(name="id")
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	@Column(name="code")
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	@Column(name="name")
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
}
